MODULE	'exec/lists',
			'exec/nodes'

OBJECT KeyMap
	LoKeyMapTypes:PTR TO CHAR,
	LoKeyMap:PTR TO LONG,
	LoCapsable:PTR TO CHAR,
	LoRepeatable:PTR TO CHAR,
	HiKeyMapTypes:PTR TO CHAR,
	HiKeyMap:PTR TO LONG,
	HiCapsable:PTR TO CHAR,
	HiRepeatable:PTR TO CHAR

OBJECT KeyMapNode
	Node:LN,
	Keymap:KeyMap

OBJECT KeyMapResource
	Node:LN,
	List:LH

CONST	KCB_NOP=7,
		KCF_NOP=$80,
		KC_NOQUAL=0,
		KC_VANILLA=7,
		KCB_SHIFT=0,
		KCF_SHIFT=1,
		KCB_ALT=1,
		KCF_ALT=2,
		KCB_CONTROL=2,
		KCF_CONTROL=4,
		KCB_DOWNUP=3,
		KCF_DOWNUP=8,
		KCB_DEAD=5,
		KCF_DEAD=$20,
		KCB_STRING=6,
		KCF_STRING=$40,
		DPB_MOD=0,
		DPF_MOD=1,
		DPB_DEAD=3,
		DPF_DEAD=8,
		DP_2DINDEXMASK=15,
		DP_2DFACSHIFT=4
